package tools;

import java.util.HashSet;

public class VisitedUrlQueue {
	public static HashSet visitedUrlQueue = new HashSet();
	public synchronized static void addElem(String url){
		visitedUrlQueue.add(url);
	}
	public synchronized static boolean isContains(String url){
		return visitedUrlQueue.contains(url);
	}
	public synchronized static int size(){
		return visitedUrlQueue.size();
	}
}
